<%@include file="/html/ccbs/portlet/hr_admin/init.jsp"%>

<%
	String tabNames = "view-merchants,view-agent";
	String tabsValues = "merchants,agents";
	
	String currentTab = ParamUtil.getString(request, "currentTab", "merchants");
%>

<liferay-util:include page="/html/ccbs/portlet/hr_admin/toolbar.jsp" portletId="<%= portletDisplay.getId() %>">
	<liferay-util:param name="toolbarItem" value="view-all"/>
</liferay-util:include>

<liferay-portlet:renderURL varImpl="portletURL"/>

<liferay-ui:tabs
	names="<%= tabNames %>"
	tabsValues="<%= tabsValues %>"
	param="currentTab"
	portletURL="<%= portletURL %>"
/>

<c:if test='<%= currentTab.equals("merchants") %>'>
	<%@include file="/html/ccbs/portlet/hr_admin/view_merchants.jspf" %>
</c:if>

<c:if test='<%= currentTab.equals("agents") %>'>
	<%@include file="/html/ccbs/portlet/hr_admin/view_agents.jspf" %>
</c:if>